第0章 IDE基础
VS code
建议学习期间使用vs code IDE:轻量,便捷
-
配置vs code for swift:https://medium.com/@kcheart/在-vscode-安裝-swift-5-2-編寫程式功能-c585ec1e0ae2
-
输出配置:
{
"code-runner.clearPreviousOutput": true,
"terminal.integrated.scrollToBottom": true
} -
修改快捷键 run code (需要安装vs code插件 Code Runner)
Xcode
- Build: command+b
- Run: command+R
- clean built cache: command+shift+k
- refactor indent: control+i (with highlight code block)
- edit all columns: option+left mouse
- quick open: command+shift+o